package com.zhl.common.exception;

import com.zhl.common.enums.IEnum;

/**
 * @Author: z156940l@outlook.com
 * @Date: 2021/8/3 11:09
 */
public class BusinessException extends BaseException{
    private static final long serialVersionUID = 1690624130527369260L;

    public BusinessException() {
        super();
    }

    public BusinessException(IEnum error) {
        super(error);
    }

    public BusinessException(String msg) {
        super(msg);
    }

    public BusinessException(IEnum error, Object data) {
        super(error, data);
    }

    public BusinessException(IEnum error, String msg, Object data) {
        super(error, msg, data);
    }
}
